package com.tbit.uqbike.service.rpcservice;

import java.util.Map;

/**
 * @author MyWin E-mail:335918956@qq.com
 * @version 1.0
 * @createTime 2019-12-09 10:48
 */
public interface SmsAdapterService {
    /**
     * 获取短信服务
     *
     * @param type
     * @param id
     * @param param
     * @return
     */
    SmsService getSmsService(Integer type, Integer id, Map<String, Object> param);

    /**
     * 短信验证码验证接口
     *
     * @param country
     * @param phone
     * @param code
     * @param type
     * @return
     */
    boolean smsCodeCheck(String country, String phone, String code, String type);
}
